package com.znsb.msfq.bean;

import java.io.Serializable;

/**
 * @name： 孙科技
 * @phone： 13308334117
 * @createTime： 2017/2/16
 * @modifyTime： 2017/2/16
 * @explain：
 */
public class UserInfoBean implements Serializable {

    /**
     * username : 13308334117
     * phone : 13308334117
     * age : 0
     * sex : 0
     * profession : null
     * isPush : 0
     */

    private String username;
    private String phone;
    private String age;
    private String sex;
    private String profession;
    private Integer isPush;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAge() {
        if (null == age)
            return "";
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        if (null == sex)
            return "";
        else if ("0".equals(sex))
            return "女";
        else if ("1".equals(sex))
            return "男";
        return "";
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getProfession() {
        if (null == profession)
            return "";
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public Integer getIsPush() {
        return isPush;
    }

    public void setIsPush(Integer isPush) {
        this.isPush = isPush;
    }
}
